<script>
  import Vue from 'vue'
  import VueResource from 'vue-resource'
  Vue.use(VueResource)
  
  function getJumpTime() {
    return new Promise((resolve, reject) => {
      Vue.http.get(window.SITE_CONFIG.apiURL + '/static/params', {
        params: {
          paramCode: 1001
        }
      }).then(res => {
        resolve(res.body)
      }).catch(() => {})
    })
  }

  export default {
    getJumpTime
  }
</script>
